Skip to content

Upper bound from the verified start vector of a candidate generator - #70

Merged
Autoplectic merged 1 commit into
mainfrom
stationary-start-upper
Nov 19, 2026
Merged

Autoplectic merged 1 commit into
mainfrom
stationary-start-upper

Conversation

@Autoplectic

Copy link
Copy Markdown
Member

Problem

`_try_best_candidate` checks a candidate's word process from the model's start vector (the search weights), but took the upper bound from `model.state_entropy()`, which recomputes a stationary vector. On a reducible model these can differ. `_model_from_kernel` keeps every state with weight above `1e-9`, so a near-zero-weight absorbing state is enough.

This happened in the cpfci dataset. On `((0,1),(0,2),(0,0))`, draw 4, the pipeline returned `upper = 0.0` with reproduction error `1e-7`, although the process has excess entropy 0.198. The stationary solve picked the absorbing state.

Fix

  • The upper bound is the entropy of the start vector that was verified.
  • A candidate is rejected when that start vector is not stationary, within `reproduction_atol`.

Test

`test_upper_is_the_entropy_of_the_verified_start_vector` uses a golden-mean generator plus an absorbing state of weight `1e-7`. It fails without the fix.

Made with Cursor

…uire that vector to be stationary

The reproduction check runs from the model's start vector (the search's weights), while state_entropy()
recomputes a stationary vector. On a reducible model, such as one that keeps a near-zero-weight absorbing
state, the two differ: the 2026-11-15 rebracket run reported C_g <= 0 on a process with E = 0.198.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Autoplectic
Autoplectic merged commit 67b35fa into main Nov 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant